﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Login.aspx.cs" Inherits="RealEstate.Views.Account.Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <fieldset>
        <legend>Login</legend>
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td width="70px">
                    <label for="username">
                        Username</label>
                </td>
                <td>
                    <asp:TextBox ID="txtUsername" runat="server" style = "width:120px;"/>
                </td>
            </tr>
            <tr>
                <td style="width: 70px; padding-top: 5px">
                    <label for="password">
                        Password</label>
                </td>
                <td style="padding-top: 5px;">
                    <asp:TextBox ID="txtPassword" style = "width:120px;" TextMode="Password" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 10px">
                    <asp:CheckBox ID="RememberMe" runat="server" Text="Remember Me" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 20px">
                    <asp:Button ID="btnSubmit" Width="70px" Text="Login" runat="server" OnClick="btnSubmit_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2" style="padding-top: 10px">
                    <asp:Label ID="InvalidCredentialsMessage" runat="server" ForeColor="Red" Text="Your username or password is invalid. Please try again."
                        Visible="False"></asp:Label>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
